package com.p2p.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "协议实体")
public class Protocol {

  @ApiModelProperty(name = "id",notes = "是否删除",dataType = "Integer",required = true)
  private Integer id;
  @ApiModelProperty(name = "protocolName",notes = "协议名称",dataType = "String",required = false)
  private String protocolName;
  @ApiModelProperty(name = "protocolType",notes = "协议类型",dataType = "String",required = false)
  private String protocolType;
  @ApiModelProperty(name = "status",notes = "状态",dataType = "Byte",required = false)
  private Byte status;
  @ApiModelProperty(name = "content",notes = "内容",dataType = "String",required = false)
  private String content;
  @ApiModelProperty(name = "isDeleted",notes = "是否删除",dataType = "Byte",required = false)
  private Byte isDeleted;

  private Timestamp createTime;
  private Timestamp updateTime;



}
